package com.liuzhilong.infrastructure.middleware.elasticsearch.entity;


import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 *
 * 书籍信息 用于做测试用
 * @author longandai@163.com
 */
@Data
@Accessors(chain = true)
public class Book {
    private String id;
    //名称
    private String name;
    //作者
    private List<String> authors;
    //索引
    private String index;
    //摘要
    private String summary;
    //上架时间
    private Date shelvingTime;
    //价格
    private Double price;

}
